package com.boshanam.view.actions.user;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.boshanam.view.forms.user.UserRegForm;

/**
 * @author Sivakumar Y, 
 * UserRegPageForwardAction.java Jan 7, 2010 5:07:11 PM
 * www.ibigbang.net
 * shiva.forums@gmail.com
 */
public class UserRegPageForwardAction extends Action {

	@Override
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		
		request.setAttribute("userRegForm", new UserRegForm());
		
		System.out.println("*******************************************************");
		System.out.println("*******************************************************");
		System.out.println("*******************************************************");
		System.out.println("*******************************************************");
		System.out.println("FORWARDING to userSignupForward");
		System.out.println("*******************************************************");
		System.out.println("*******************************************************");
		System.out.println("*******************************************************");
		System.out.println("*******************************************************");
		return mapping.findForward("userSignupForward");
	}
	
	

}
